<?php if (!defined('THINK_PATH')) exit(); /*a:1:{s:68:"D:\phpStudy\WWW\mangmeshi/./application/admin\view\job\job_info.html";i:1531217539;}*/ ?>
<form class="form-horizontal bv-form" role="form" id="listForm">
    <style>
        .form-group{
            /*border:1px solid red;*/
        }

    </style>
    <?php if($data['job_type']==2): ?>
    <div class="panel panel-default" style="border: 1px solid #CCC; height: auto;">
        <div class="panel-heading" role="tab" >
            <h4 class="panel-title">
                企业信息：
            </h4>
        </div>
    </div><br/>
    <div class="row">
        <div class="form-group col-sm-6">
            <label class="col-sm-5 control-label">企业名称：</label>
            <div class="col-sm-7">
                <input type="text" class="form-control" value="<?php echo $data['job_com_name']; ?>">
            </div>
        </div>
    </div>
    <div class="row">
        <div class="form-group col-sm-6">
            <label class="col-sm-5 control-label">企业地点：</label>
            <div class="col-sm-7">
                <input type="text" class="form-control" value="<?php echo $data['com_sheng']; ?><?php echo $data['com_shi']; ?><?php echo $data['com_qu']; ?>">
            </div>
        </div>
        <div class="form-group col-sm-6">
            <label class="col-sm-5 control-label">详细地址：</label>
            <div class="col-sm-7">
                <input type="text" class="form-control" value="<?php echo $data['job_com_address']; ?>">
            </div>
        </div>
    </div>
    <div class="row">
        <div class="form-group col-sm-6">
            <label class="col-sm-5 control-label">企业描述：</label>
        </div>
    </div>
    <div class="row">
        <div class="form-group col-sm-12">
            <label class="col-sm-1 control-label"></label>
            <div class="col-sm-11">
                <textarea class="form-control" rows="5"><?php echo $data['job_com_jianjie']; ?></textarea>
            </div>
        </div>
    </div>
    <?php endif; ?>
    <!---->
    <div class="panel panel-default" style="border: 1px solid #CCC; height: auto;">
        <div class="panel-heading" role="tab" id="headingTwo">
            <h4 class="panel-title">
                职位信息
            </h4>
        </div>
    </div><br/>
    <div class="row">
        <div class="form-group col-sm-6">
            <label class="col-sm-5 control-label">职位名称：</label>
            <div class="col-sm-7">
                <input type="text" class="form-control" value="<?php echo $data['job_name']; ?>">
            </div>
        </div>
        <div class="form-group col-sm-6">
            <label class="col-sm-5 control-label">性别：</label>
            <div class="col-sm-7">
                <input type="text" class="form-control" value="<?php echo $data['job_sex']; ?>">
            </div>
        </div>
    </div>
    <div class="row">
        <div class="form-group col-sm-6">
            <label class="col-sm-5 control-label">工作地点：</label>
            <div class="col-sm-7">
                <input type="text" class="form-control" value="<?php echo $data['sheng']; ?><?php echo $data['shi']; ?><?php echo $data['qu']; ?>">
            </div>
        </div>
        <div class="form-group col-sm-6">
            <label class="col-sm-5 control-label">工作详细地址：</label>
            <div class="col-sm-7">
                <input type="text" class="form-control" value="<?php echo $data['job_address']; ?>">
            </div>
        </div>
    </div>
    <div class="row">
        <div class="form-group col-sm-6">
            <label class="col-sm-5 control-label">周期：</label>
            <div class="col-sm-7">
                <input type="text" class="form-control" value="<?php echo !empty($data['job_com_find_zhouqi']) && $data['job_com_find_zhouqi']==1?'长期' : '短期'; ?>">
            </div>
        </div>
        <div class="form-group col-sm-6">
            <label class="col-sm-5 control-label">薪资要求：</label>
            <div class="col-sm-7">
                <input type="text" class="form-control" value="<?php echo $data['job_zhouqi_year']; ?>">
            </div>
        </div>
    </div>
    <div class="row">
        <div class="form-group col-sm-6">
            <label class="col-sm-5 control-label">学历：</label>
            <div class="col-sm-7">
                <input type="text" class="form-control" value="<?php echo $data['job_school']; ?>">
            </div>
        </div>
        <div class="form-group col-sm-6">
            <label class="col-sm-5 control-label">工作年限：</label>
            <div class="col-sm-7">
                <input type="text" class="form-control" value="<?php echo $data['job_year']; ?>">
            </div>
        </div>
    </div>
    <div class="row">
        <div class="form-group col-sm-6">
            <label class="col-sm-5 control-label">年龄区间：</label>
            <div class="col-sm-7">
                <input type="text" class="form-control" value="<?php echo $data['job_age_min']; ?>—<?php echo $data['job_age_max']; ?>">
            </div>
        </div>
        <div class="form-group col-sm-6">
            <label class="col-sm-5 control-label">招聘人数：</label>
            <div class="col-sm-7">
                <input type="text" class="form-control" value="<?php echo $data['job_peple']; ?>">
            </div>
        </div>
    </div>
    <div class="row">
        <div class="form-group col-sm-6">
            <label class="col-sm-5 control-label">工作描述：</label>
        </div>

    </div>

    <div class="row">
        <div class="form-group col-sm-12">
            <label class="col-sm-1 control-label"></label>
            <div class="col-sm-11">
                <textarea class="form-control" rows="5"><?php echo $data['job_content']; ?></textarea>
            </div>
        </div>
    </div>


    <div class="panel panel-default" style="border: 1px solid #CCC; height: auto;">
        <div class="panel-heading" role="tab" >
            <h4 class="panel-title">
                发布者信息：
                <?php if($data['job_type']==1): ?>（个人招人）<?php endif; if($data['job_type']==2): ?>（企业招人）<?php endif; if($data['job_type']==3): ?>（找活干）<?php endif; ?>
            </h4>
        </div>
    </div><br/>
    <div class="row">
        <div class="form-group col-sm-6">
            <label class="col-sm-5 control-label">发布人名称：</label>
            <div class="col-sm-7">
                <input type="text" class="form-control" value="<?php echo $data['user_username']; ?>">
            </div>
        </div>
        <div class="form-group col-sm-6">
            <label class="col-sm-5 control-label">发布人电话：</label>
            <div class="col-sm-7">
                <input type="text" class="form-control" value="<?php echo $data['job_phone']; ?>">
            </div>
        </div>
    </div>
    <div class="row">
        <div class="form-group col-sm-6">
            <label class="col-sm-5 control-label">发布人微信：</label>
            <div class="col-sm-7">
                <input type="text" class="form-control" value="<?php echo $data['job_weixin']; ?>">
            </div>
        </div>
        <div class="form-group col-sm-6">
            <label class="col-sm-5 control-label">发布人qq：</label>
            <div class="col-sm-7">
                <input type="text" class="form-control" value="<?php echo $data['job_qq']; ?>">
            </div>
        </div>
    </div>
    <?php if($data['job_type']==1): ?>
    <div class="row">
        <div class="form-group col-sm-6">
            <label class="col-sm-5 control-label">做什么事：</label>
            <div class="col-sm-7">
                <input type="text" class="form-control" value="<?php echo $data['job_whatfor']; ?>">
            </div>
        </div>
    </div>
    <?php endif; if($data['job_type']==2): ?>
    <div class="row">
        <div class="form-group col-sm-6">
            <label class="col-sm-5 control-label">直招/中介：</label>
            <div class="col-sm-7">
                <input type="text" class="form-control" value="<?php if($data['job_zhi']==1): ?>直招<?php else: ?>中介<?php endif; ?>">
            </div>
        </div>
    </div>
    <?php endif; ?>
    <div class="panel panel-default" style="border: 1px solid #CCC; height: auto;">
        <div class="panel-heading" role="tab" >
            <h4 class="panel-title">
                其他信息：
            </h4>
        </div>
    </div><br/>
    <div class="row">
        <div class="form-group col-sm-6">
            <label class="col-sm-5 control-label">发布时间：</label>
            <div class="col-sm-7">
                <input type="text" class="form-control" value="<?php echo $data['job_createtime']; ?>">
            </div>
        </div>
    </div>
    <div class="row">
        <div class="form-group col-sm-6">
            <label class="col-sm-5 control-label">是否已经禁用：</label>
            <div class="col-sm-7">
                <input type="text" class="form-control" value="<?php if($data['job_status']==1): ?>正常启用<?php else: ?>禁用隐藏<?php endif; ?>">
            </div>
        </div>
    </div>
    <!--新加的图片-->
    <div class="row">
    <div class="form-group col-sm-6">
        <label class="col-sm-5 control-label">图片：</label>
        <div class="col-sm-7">
            <?php if(!$data['job_beautiful']): ?>暂无图片<?php endif; ?>
        </div>
    </div>
    </div>
    <?php if($data['job_beautiful']): ?>
    <div style="width: 100%;">
        <?php if(is_array($img) || $img instanceof \think\Collection): $i = 0; $__LIST__ = $img;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$im): $mod = ($i % 2 );++$i;?>
        <img src="<?php echo $im; ?>" alt="" style="width: 30%;height: auto;margin-left: 2%;margin-bottom: 10px;"/>
        <?php endforeach; endif; else: echo "" ;endif; ?>
    </div>
    <?php endif; if($data['job_url']): ?>
    <div class="form-group">
        <label class="col-sm-2 control-label">视频</label>
        <div class="col-sm-6">
            <video src="<?php echo $data['job_url']; ?>" controls="controls" width="100%"></video>
        </div>
    </div>
    <?php endif; ?>
</form>
<script>
    $('#listForm input,#listForm textarea').attr('disabled','true');
</script>



